//
//  RegionLocationTableViewCell.m
//  location
//
//  Created by Dongxiang Xu on 2025/5/14.
//

#import "RegionLocationTableViewCell.h"

@implementation RegionLocationTableViewCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        self.contentView.backgroundColor = RealWhiteColor;
        
        _title = [[UILabel alloc] initWithFrame:CGRectMake(35, 10, SCREEN_WIDTH-70, 19)];
        _title.font = MEDIUM_FONT(15);
        _title.textColor = RealBlackColor;
        [self.contentView addSubview:_title];
        
        _subTitle = [[UILabel alloc] initWithFrame:CGRectMake(35, CGRectGetMaxY(_title.frame), SCREEN_WIDTH-70, 19)];
        _subTitle.font = DEFAULT_FONT(12);
        _subTitle.textColor = GraryTooHeavyColor;
        [self.contentView addSubview:_subTitle];
    }
    return self;
}

@end
